package org.example.bookstore.pojo.DTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentUser {
    private int id;   //评论id
    private int bookId;   //商品id
    private int userId;   //用户id
    private int rating;   //商品评分
    private String content;  //评论内容
    private int CommentLikeCount; // 评论点赞数
    private int toCommentId;   //回复目标评论id
    private LocalDateTime commentTime;  //评论时间
    private LocalDateTime updateTime;  //更新时间
    private String name;  //用户名称
    private String avatar;  //头像
}
